package com.qf.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.qf.pojo.DtsAdmin;
import com.qf.vo.CatVo;

import java.util.List;

/**
 * @author wanghaotian
 * time:2022/12/16,0016 8:45
 * description:
 */

public interface DtsAdminService {
    DtsAdmin findAdminByUsername(String username);

    IPage<DtsAdmin> findList(Integer page, Integer limit, String username, String sort, String order);

    void addAdmin(DtsAdmin admin);

    void updateAdmin(DtsAdmin admin);

    void deleteById(DtsAdmin admin);

    List<CatVo> findAll();

}
